home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / openjdk-6-jre-headless / README.Debian < prev    next >
Encoding:
Text File  |  2012-06-29  |  3.0 KB  |  79 lines

  1. openjdk-6 for Debian/Ubuntu
  2. ---------------------------
  3.  
  4. The OpenJDK build is configured --with-additional-vms to build with
  5. different virtual machines.  The original implementation of the hotspot
  6. VM is only available on the amd64, i386, lpia and sparc architectures.
  7. Other VM's are CACAO, providing a just in time compiler on several
  8. architectures (although the VM implementation is incomplete), and Zero,
  9. providing a byte code interpreter for every architecture.  On some
  10. architectures Zero is built with JIT support using shark (still considered
  11. experimental).
  12.  
  13. To use a different VM other than the default, use
  14.  
  15.     java -cacao|-zero|-shark
  16.  
  17. or for the java tools, use
  18.  
  19.     <tool name> -J-cacao|-J-zero|-J-shark.
  20.  
  21. The zero build on the ix86 architectures is built with shark (just in time
  22. compiler); to use the zero build without shark support, use the `-Xint'
  23. option to operate in interpreted-only mode.
  24.  
  25. On some architectures (currently armel and powerpc, when built against
  26. llvm-2.6) which use ther zero vm as the default, the openjdk-6-jre-zero
  27. package contains the shark vm.
  28.  
  29. To change the default permanently, edit /etc/java-6-openjdk/jvm.cfg.
  30.  
  31. The CACAO VM can be found in the icedtea-6-jre-cacao package, the Zero/Shark
  32. VM can be found in the openjdk-6-jre-zero package (on the architectures
  33. where the Hotspot VM is available).
  34.  
  35. Please look for further documentation in the directory
  36. /usr/share/doc/openjdk-6-jre/ .
  37.  
  38. The package openjdk-6-jre-headless ships a cgi script
  39. /usr/lib/jvm/java-6-openjdk/bin/java-rmi.cgi that you must integrate
  40. into your webserver setup manually if you need it. It is not activated
  41. automatically.
  42.  
  43.  
  44. Note for non-reparenting window manager users
  45. ---------------------------------------------
  46.  
  47. If you are using a non-reparenting window manager, such as ratpoison, awesome
  48. or dwm, some Java graphical applications using the AWT toolkit will only
  49. display empty grey windows, as described in but #508650.
  50.  
  51. There are two solutions to work around this issue:
  52. 1. mask your window manager as one of the non-reparenting ones supported by AWT,
  53.    using the wmname <http://tools.suckless.org/wmname> tool from the dwm-tools
  54.    package:
  55.    $ wmname LG3D
  56. 2. set the environment variable _JAVA_AWT_WM_NONREPARENTING:
  57.    $ export _JAVA_AWT_WM_NONREPARENTING=true
  58.  
  59. You can automate these tasks by writing them to your ~/.xsessionrc:
  60. $ cat >> ~/.xsessionrc <<EOF
  61. export _JAVA_AWT_WM_NONREPARENTING=true
  62. EOF
  63.  
  64.  
  65. IcedTea NPPlugin
  66. ----------------
  67.  
  68. IcedTea provides a java plugin for at least mozilla based browsers.  It is
  69. not yet 100% with the closed source plugin, but much improved to the former
  70. GCJPlugin.  If you experience problems with the plugin, start your browser
  71. from the command line with the environment variable ICEDTEAPLUGIN_DEBUG set,
  72. and attach this output to a bug report.  You usually should not expect a
  73. quick fix, if the applet code is closed source, or only accessible after
  74. creating accounts for external web services using these applets.
  75.  
  76.  
  77.  -- Matthias Klose <doko@ubuntu.com>  Sun, 03 May 2009 13:58:10 +0200
  78.  -- Torsten Werner <twerner@debian.org>  Wed, 02 Apr 2008 11:46:53 +0200
  79.